﻿using System;
using System.Collections;

/* This class is used for replicating 
 * the Silverlight 4 validation infrastructure. */

namespace System.ComponentModel
{
	public interface INotifyDataErrorInfo
	{
		event EventHandler<DataErrorsChangedEventArgs> ErrorsChanged;

		IEnumerable GetErrors(string propertyName);

		bool HasErrors { get; }
	}
}
